package com.lingkang.usersso.service;

/**
 * @author linke
 * @date 2020-02-05 下午 23:56
 * @description
 */
public interface RedisService {

    /**
     * 赋值redis
     * @param key
     * @param value
     * @param seconds
     */
    public void set(String key, Object value, int seconds);

    /**
     * 获取redis
     * @param key
     * @return
     */
    public Object get(String key);

    /**
     * 删除redis
     * @param key
     * @return
     */
    public boolean delete(String key);
}
